$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .banner {
    position: relative;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }

    .text {
      position: absolute;
      left: 190/$f+vw;
      top: 55%;
      transform: translateY(-50%);

      .p1 {
        background: linear-gradient(180deg, rgba(56, 110, 181, 0.50) 35.29%, rgba(255, 255, 255, 0.00) 84.31%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 40/$f+vw;
        text-transform: uppercase;
        font-family: 'PingFang';
        font-weight: 600;
      }

      .p2 {
        color: #386EB5;
        font-size: 48/$f+vw;
        font-weight: 700;
        margin-top: -1vw;
      }

      .p3 {
        display: flex;
        align-items: center;
        font-size: 36/$f+vw;
        color: #386EB5;
        margin-top: 1vw;

        p {
          margin: 0 20/$f+vw;
        }

        &::before,
        &::after {
          content: '';
          display: block;
          width: 8/$f+vw;
          height: 8/$f+vw;
          background-color: #E60012;
          border-radius: 50%;
        }
      }
    }

    .types {
      border-top: 3px solid rgba(58, 133, 192, 0.10);
      background: rgba(0, 0, 0, 0.30);
      backdrop-filter: blur(5px);
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;

      .items {
        width: 65%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;

        .item {
          width: 25%;
          position: relative;
          cursor: pointer;

          &::before {
            content: '';
            display: block;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: -2px;
            width: 0;
            transition: all 600ms;
            height: 4/$f+vw;
            background: #386EB5;
          }

          .p1 {
            color: #FFF;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 22/$f+vw 0;
            font-size: 20/$f+vw;
            font-weight: 700;
            transition: all 600ms;

            svg {
              display: block;
              width: 24/$f+vw;

              path {
                transition: all 600ms;
              }
            }
          }

          .aList {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 100%;
            background: #FFF;
            box-shadow: 0px 4px 9.6px 0px rgba(0, 0, 0, 0.25);
            display: none;
            a {
              display: block;
              color: #000;
              font-size: 20/$f+vw;
              margin: 16/$f+vw 20/$f+vw;
              transition: all 600ms;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              &:hover{
                color: #386EB5;
              }
            }
          }

          &:hover {
            &::before {
              width: 100%;
            }

            .p1 {
              color: #386EB5;

              svg {
                path {
                  stroke: #386EB5;
                }
              }
            }
            .aList{
              display: block;
            }
          }
        }

        .active {
          &::before {
            width: 100%;
          }

          .p1 {
            color: #386EB5;

            svg {
              path {
                stroke: #386EB5;
              }
            }
          }
        }
      }
    }
  }

  .main {
    margin: 54/$f+vw 235/$f+vw;

    .section1 {
      .intro {
        font-size: 20/$f+vw;
        line-height: 1.8;
        text-align: center;
      }

      .video {
        width: 80%;
        margin: 3vw auto;
        position: relative;
        &::before{
          content:'';
          display: block;
          position: absolute;
          left: 0;
          top:0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.41);
          // z-index: 10;
          pointer-events: none;
        }
        video {
          width: 100%;
          display: block;
          object-fit: cover;
        }

        .play {
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
          cursor: pointer;

          img {
            max-width: 306/$f+vw;
            display: block;
          }
        }

        .close {
          position: absolute;
          right: 2vw;
          top: 2vw;
          cursor: pointer;
          display: none;

          img {
            width: 30/$f+vw;
            display: block;
          }
        }
      }
    }

    .types {
      margin: 65/$f+vw 0;
      display: flex;
      border-bottom: 3px solid #D9D9D9;
      position: sticky;
      top:100/$f+vw;
      padding-top: 20/$f+vw;
      left: 0;
      background-color: white;
      z-index: 10;
      .item {
        color: #000;
        font-size: 24/$f+vw;
        margin-right: 64/$f+vw;
        padding-bottom: 28/$f+vw;
        position: relative;
        cursor: pointer;

        &::after {
          content: '';
          display: block;
          position: absolute;
          left: 0;
          bottom: -3px;
          width: 0;
          height: 3px;
          background: #386EB5;
          transition: all 600ms;
        }

        &:hover {
          &::after {
            width: 100%;
          }
        }
      }

      .active {
        &::after {
          width: 100%;
        }
      }
    }

    .section2 {
      .t {
        font-size: 40/$f+vw;
        font-weight: 600;
      }

      .list1 {
        .item {
          display: flex;
          background-color: rgba(250, 250, 250, 1);
          padding: 50/$f+vw;
          justify-content: space-between;
          margin-top: 40/$f+vw;

          .text {
            width: 48%;

            .icon {
              margin-top: 1.5vw;

              img {
                width: 60/$f+vw;
                display: block;
              }
            }

            .p1 {
              color: #000;
              font-size: 24/$f+vw;
              font-weight: 600;
              margin: 24/$f+vw 0;
            }

            .des {
              color: #000;
              font-size: 16/$f+vw;
            }
          }

          .pic {
            width: 48%;

            img {
              width: 100%;
              display: block;
              object-fit: cover;
            }
          }
        }

        .item:nth-child(2n) {
          flex-direction: row-reverse;
        }
      }

      .list2 {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .item {
          background-color: rgba(250, 250, 250, 1);
          width: calc(47% - 5.5vw);
          margin-top: 30/$f+vw;
          display: flex;
          justify-content: space-between;
          padding: 53/$f+vw;

          .icon {
            img {
              width: 60/$f+vw;
              display: block;
            }
          }

          .text {
            width: calc(100% - 5.6vw);

            .p1 {
              color: #000;
              font-size: 24/$f+vw;
              font-weight: 600;
            }

            .des {
              color: #000;
              font-size: 16/$f+vw;
              margin-top: 24/$f+vw;
            }
          }
        }
      }
    }

    .section3 {
      margin: 60/$f+vw 0 88/$f+vw 0;

      .t {
        font-size: 40/$f+vw;
        font-weight: 600;
      }

      .swiper-container {
        width: 100%;
        margin-top: 35/$f+vw;

        a {
          background: linear-gradient(0deg, #C8C8C8 100%, #FFF 100%);
          display: block;
          padding: 38/$f+vw 28/$f+vw;
          position: relative;

          .pic {
            img {
              width: 100%;
              display: block;
              object-fit: contain;
            }
          }

          .pt {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            border-top: 3/$f+vw solid rgba(0, 0, 0, 0.10);
            background: rgba(0, 0, 0, 0.10);
            backdrop-filter: blur(5px);
            font-size: 24/$f+vw;
            color: white;
            font-weight: 600;

            p {
              margin: 16/$f+vw;
            }
          }

          .text {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: #386EB5;
            opacity: 0;
            transition: all 600ms;
            z-index: 2;

            .db {
              margin: 40/$f+vw;
              color: white;

              .p1 {
                font-size: 24/$f+vw;
                font-weight: 600;
                font-family: 'PingFang';
              }

              .ds {
                margin-top: 32/$f+vw;

                .pd1 {
                  font-size: 18/$f+vw;
                }

                .pd2 {
                  font-size: 20/$f+vw;
                  font-weight: 600;
                  margin-top: 10/$f+vw;
                }
              }
            }
          }

          &:hover {
            .text {
              opacity: 1;
            }
          }
        }
      }
    }

    .section4 {
      .t {
        font-size: 40/$f+vw;
        font-weight: 600;
      }

      .html {
        margin: 32/$f+vw 0;

        img {
          max-width: 100%;
          display: block;
        }
      }
    }

    .section5 {
      margin: 60/$f+vw 0;

      .t {
        font-size: 40/$f+vw;
        font-weight: 600;
      }

      .list {
        background-color: rgba(250, 250, 250, 1);
        padding: 35/$f+vw 50/$f+vw;
        margin-top: 32/$f+vw;

        .item {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 30/$f+vw;
          .l {
            display: flex;
            align-items: center;

            .icon {
              width: 48/$f+vw;
              height: 48/$f+vw;
              background: #2775BB;
              display: flex;
              align-items: center;
              justify-content: center;

              img {
                max-width: 80%;
                max-height: 80%;
                display: block;
              }
            }

            p {
              margin-left: 20/$f+vw;
              font-size: 22/$f+vw;
            }
          }

          a {
            width: 171/$f+vw;
            height: 54/$f+vw;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #CFCFCF;
            transition: all 600ms;
            cursor: pointer;
            svg {
              width: 28/$f+vw;
              display: block;

              path {
                transition: all 600ms;
              }
            }

            p {
              color: #000;
              font-size: 22/$f+vw;
              margin-left: 0.5vw;
              transition: all 600ms;
            }

            &:hover {
              background: #1280C4;
              border-color: #1280C4;

              svg {
                path {
                  fill: white;
                }
              }

              p {
                color: white;
              }
            }
          }
        }

        .item:last-child {
          margin-bottom: 0;
        }
      }
    }
  }

  .getIn {
    background: url(../images/gbg.png) no-repeat;
    background-size: cover;
    position: relative;
    padding: 90/$f+vw 200/$f+vw;

    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(92deg, #00142E -2.77%, rgba(0, 0, 0, 0.00) 99.07%);
    }

    .box {
      position: relative;
      z-index: 2;

      .t1 {
        text-align: center;
        color: #F1F1F1;
        font-size: 40/$f+vw;
      }

      .pics {
        margin: 16/$f+vw 0;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .pic1 {
          img {
            width: 164/$f+vw;
            display: block;
          }
        }

        .line {
          width: calc(90% - 11vw);
          background: #818181;
          height: 1px;
          position: relative;
          overflow: hidden;

          span {
            position: absolute;
            left: 0;
            top: 0;
            width: 20%;
            background-color: white;
            height: 1px;
            transform: translateX(-100%);
          }

          .on {
            animation-name: progress;
            animation-duration: 1s;
            animation-timing-function: linear;
            animation-iteration-count: 1;
          }

          @keyframes progress {
            0% {
              left: 0;
              transform: translateX(-100%);
            }

            100% {
              left: 100%;
              transform: translateX(100%);
            }
          }
        }

        .pic2 {
          img {
            width: 156/$f+vw;
            display: block;
          }
        }
      }

      a {
        width: 162/$f+vw;
        height: 58/$f+vw;
        border: 1px solid #FFF;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18/$f+vw;
        transition: all 600ms;
        color: white;
        margin: 0 auto;

        svg {
          width: 11/$f+vw;
          display: block;
          margin: 2px 0 0 0.6vw;

          path {
            transition: all 600ms;
          }
        }

        &:hover {
          background: #fff;
          color: #000;

          svg {
            path {
              fill: #000;
            }
          }
        }
      }
    }
  }

  .dialog {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    display: none;
    .content {
      width: 582/$f+vw;
      border-radius: 12px;
      background: linear-gradient(178deg, #E3ECFD -5.37%, #FFF 21.63%);
      padding: 34/$f+vw 57/$f+vw;
      position: relative;

      .t {
        color: #333;
        font-size: 24/$f+vw;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .close {
          cursor: pointer;

          svg {
            width: 32/$f+vw;
            display: block;
          }
        }
      }

      .form {
        .item {
          margin-top: 24/$f+vw;

          .tag {
            color: #444;
            font-size:20/$f+vw;

            span {
              color: #F00;
            }
          }

          input {
            border-radius: 4px;
            border: 1px solid #E9E9E9;
            height: 30/$f+vw;
            outline: none;
            width: 100%;
            margin-top: 10/$f+vw;
            text-indent: 10px;
            font-size: 16/$f+vw;
          }

          textarea {
            border-radius: 4px;
            border: 1px solid #E9E9E9;
            height: 138/$f+vw;
            outline: none;
            width: 100%;
            margin-top: 10/$f+vw;
            text-indent: 10px;
            font-size: 16/$f+vw;
            resize: none;
          }
        }

        .notice {
          display: flex;
          margin-top:32/$f+vw;
          cursor: pointer;
          .k {
            width: 12/$f+vw;
            height: 12/$f+vw;
            border: 1px solid #CCC;
            margin-top: 2px;
            transition: all 600ms
          }
          .fill{
            background-color: #000;
          }
          .pt{
            display: flex;
            font-size: 12/$f+vw;
            margin-left: 5px;
            p{
              color: #444;
            }
            a{
              color: #386EB5;
              text-decoration: underline;
            }
          }
        }
        button{
          width: 166px;
          background: #386EB5;
          line-height: 36/$f+vw;
          color:white;
          font-size: 15/$f+vw;
          outline: none;
          border: none;
          display: block;
          margin: 22/$f+vw auto 0 auto;
          cursor: pointer;
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;

    .banner {
      img {
        height: 150px;
      }

      .text {
        left: 5%;
        top: 45%;

        .p1 {
          font-size: 20px;
        }

        .p2 {
          font-size: 20px;
          margin-top: -10px;
        }

        .p3 {
          font-size: 18px;
          margin-top: 10px;

          p {
            margin: 0 10px;
          }

          &::before,
          &::after {
            width: 5px;
            height: 5px;
          }
        }
      }

      .types {
        position: static;

        .items {
          width: 100%;

          .item {
            width: 25%;

            .p1 {
              font-size: 12px;
              padding: 10px 0;

              svg {
                width: 15px;
                margin-left: 3px;
                height: auto;
              }
            }
            .aList{
              a{
                font-size: 12px;
                margin: 15px;
              }
            }
          }
        }
      }
    }

    .main {
      margin: 30px 5%;

      .section1 {
        .intro {
          font-size: 16px;
        }

        .video {
          width: 100%;
          margin: 30px 0;

          .play {
            img {
              max-width: 120px;
            }
          }

          .close {
            right: 15px;
            top: 15px;

            img {
              width: 20px;
            }
          }
        }
      }

      .types {
        margin: 30px 0;
        position: static;
        padding-top: 0;
        .item {
          font-size: 16px;
          margin-right: 15px;
          padding-bottom: 10px;
        }
      }

      .section2 {
        .t {
          font-size: 20px;
        }

        .list1 {
          .item {
            padding: 20px;
            margin-top: 20px;
            flex-direction: column !important;

            .text {
              width: 100%;

              .icon {
                margin-top: 0;

                img {
                  width: 40px;
                }
              }

              .p1 {
                font-size: 18px;
                margin: 15px 0 10px 0;
              }

              .des {
                font-size: 16px;
              }
            }

            .pic {
              width: 100%;
              margin-top: 20px;
            }
          }
        }

        .list2 {
          .item {
            width: calc(100% - 40px);
            padding: 20px;
            margin-top: 20px;

            .icon {
              img {
                width: 40px;
              }
            }

            .text {
              width: calc(95% - 40px);

              .p1 {
                font-size: 18px;
              }

              .des {
                font-size: 16px;
              }
            }
          }
        }
      }

      .section3 {
        margin: 30px 0 40px 0;

        .t {
          font-size: 20px;
        }

        .swiper-container {
          margin-top: 30px;

          a {
            .pt {
              font-size: 14px;

              p {
                margin: 10px;
              }
            }

            .text {
              .db {
                margin: 20px;

                .p1 {
                  font-size: 16px;
                }

                .ds {
                  margin-top: 20px;

                  .pd1 {
                    font-size: 14px;
                  }

                  .pd2 {
                    font-size: 16px;
                    margin-top: 5px;
                  }
                }
              }
            }
          }
        }
      }

      .section4 {
        .t {
          font-size: 20px;
        }

        .html {
          margin: 15px 0;
        }
      }

      .section5 {
        margin: 30px 0;

        .t {
          font-size: 20px;
        }

        .list {
          padding: 20px;
          margin-top: 20px;

          .item {
            margin-bottom: 15px;

            .l {
              width: 70%;

              .icon {
                width: 40px;
                height: 40px;
              }

              p {
                font-size: 16px;
                margin-left: 15px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
              }
            }

            a {
              width: fit-content;
              height: auto;
              padding: 3px 10px;

              svg {
                width: 20px;
              }

              p {
                font-size: 16px;
              }
            }
          }
        }
      }
    }

    .getIn {
      padding: 40px 5%;

      .box {
        .t1 {
          font-size: 20px;
        }

        .pics {
          margin: 15px 0;

          .pic1,
          .pic2 {
            img {
              width: 60px;
            }
          }

          .line {
            width: calc(95% - 120px);
          }
        }

        a {
          width: 150px;
          height: 45px;
          font-size: 14px;

          svg {
            width: 12px;
            margin: 0 0 0 8px;
          }
        }
      }
    }
    .dialog{
      z-index: 1005;
      .content{
        width: 80%;
        padding: 15px;
        .t{
          font-size:18px;
          .close{
            svg{
              width: 20px;
            }
          }
        }
        .form{
          .item{
            margin-top: 10px;
            .tag{
              font-size: 14px;
            }
            input{
              height: 30px;
              font-size: 14px;
            }
          }
          .notice{
            margin-top: 10px;
            .k{
              width: 12px;
              height: 12px;
              margin-top: 5px;
            }
            .pt{
              font-size: 14px;
              flex-wrap: wrap;
            }
          }
          button{
            line-height: 40px;
            font-size: 16px;
            margin-top: 15px;
          }
        }
      }
    }
  }
}